<form id="alipay-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input name="row[id]" type="hidden" value="{$row.id}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">支付名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-rule="length(~50)" class="form-control" name="row[name]" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">应用ID:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-rule="required;length(~30)" class="form-control" name="row[appid]" value="{$row.appid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">合作号:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-rule="length(~30)" class="form-control" name="row[pid]" value="{$row.pid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">支付宝账号:</label>
        <div class="col-xs-12 col-sm-8">
            <input data-rule="length(~50)" class="form-control" name="row[account]" value="{$row.account}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">支付宝公钥:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea data-rule="required" class="form-control" name="row[public_key]" rows="5">{$row.public_key}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">应用私钥:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea data-rule="required" class="form-control" name="row[private_key]" rows="6">{$row.private_key}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">保存</button>
        </div>
    </div>
</form>